<#include "comm/_layout.html"/>
<@layout>
<!-- contact -->
<div class="codes">
    <div class="container">
        <h3 class="title">PROJECT PORTFOLIO</h3>
        <div class="grid_3 grid_5">
            <div class="bs-example bs-example-tabs" role="tabpanel" data-example-id="togglable-tabs">
                <ul id="myTab" class="nav nav-tabs" role="tablist">
                    <@jp.taxonomys module="project">
                    <#list taxonomys  as taxonomy>
                        <#if taxonomy.isActive() >
                            <li role="presentation" class="active"><a href="#href${taxonomy.id!}" id="tab-${taxonomy.id!}" role="tab" data-toggle="tab"
                                                                      aria-controls="href${taxonomy.id!}" aria-expanded="true">${taxonomy.title!}</a></li>
                            <#else>
                                <li role="presentation"><a href="#href${taxonomy.id!}" role="tab" id="tab-${taxonomy.id!}" data-toggle="tab"
                                                           aria-controls="href${taxonomy.id!}">${taxonomy.title!}</a></li>
                        </#if>
                    </#list>
                </@jp.taxonomys >
                </ul>
                <div id="myTabContent" class="tab-content">
                    <#list taxonomys  as taxonomy>
                        <#if taxonomy.id ==1>
                            <div role="tabpanel" class="tab-pane fade in active" id="href${taxonomy.id!}" aria-labelledby="tab-${taxonomy.id!}">
                            <#else>
                                <div role="tabpanel" class="tab-pane fade" id="href${taxonomy.id!}" aria-labelledby="tab-${taxonomy.id!}">
                        </#if>
                            <@jp.contents module="project" typeId=taxonomy.id  count="100">
                            <div class="gallery-grids">
                                <#list contents as content>
                                    <!--<a href="${content.url}">${content.title}</a> <br />-->
                                    <div class="col-md-4 port-grids view view-tenth">
                                        <a class="example-image-link" href="${(content.thumbnail)!}" data-lightbox="example-set" data-title="">
                                            <img src="${(content.thumbnail)!}" class="img-responsive" alt=""/>
                                            <div class="mask">
                                                <p>Click For Look</p>
                                            </div>
                                        </a>
                                    </div>
                                </#list>
                            </div>
                        </@jp.contents>
                </div>
                </#list>
            </div>
        </div>

    </div>
</div>
</div>
<!-- //contact -->
</@layout>